import Vue from 'vue';
import Vuex from 'vuex';

Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    showMap: false // 控制地图显示状态
  },
  mutations: {
    setShowMap(state, value) {
      state.showMap = value;
    }
  }
});